const methods = {
  DELETE: 'delete',
  GET: 'get',
  OPTIONS: 'options',
  PATCH: 'patch',
  POST: 'post',
  PUT: 'put'
}

export default {
  m3_open_records: {
    path: 'rooms/:room_id/access_control/:device_id/open_records',
    method: methods.GET
  }, // 获取开门记录
  m3_open_records_count: {
    path: 'rooms/:room_id/access_control/:device_id/open_records_count',
    method: methods.GET
  }, // 获取开门记录总数
  m3_auth_records: {
    path: 'rooms/:room_id/access_control/:device_id/authes',
    method: methods.GET
  }, // 获取门禁授权
  m3_auth_records_count: {
    path: 'rooms/:room_id/access_control/:device_id/authes_count',
    method: methods.GET
  }, // 获取开门记录总数
  m3_tenant_auth_list: {
    path: 'tenant/:tenant_id/access_control_authes',
    method: methods.GET
  }, // 租客授权列表
  m3_device_auth_list: {
    path: 'tenant/:tenant_id/access_control_authes',
    method: methods.GET
  }, // 设备授权列表
  m3_open: {
    path: 'rooms/:room_id/access_control/:device_id/open',
    method: methods.POST
  }, // 商户人员开门
  m3_auth_del: {
    path: 'rooms/:room_id/access_control/:device_id/auth/:auth_id',
    method: methods.DELETE
  }, // 删除门禁授权
  m3_multi_auth_add: {
    path: 'rooms/:room_id/access_control/:device_id/auth',
    method: methods.POST
  }, // 批量添加租客授权
  m3_authorizable_tenants_list: {
    path: 'rooms/:room_id/access_control/:device_id/tenants',
    method: methods.GET
  }, // 获取M3门禁可授权租客列表
  m3_del: {
    path: 'rooms/:room_id/access_control/:device_id',
    method: methods.DELETE
  }, // 解绑设备
  m3_add: { path: 'rooms/:room_id/access_control', method: methods.POST }, // 绑定设备
  m3_info: {
    path: 'rooms/:room_id/access_control/:device_id',
    method: methods.GET
  }, // 获取M3门禁设备详细信息
  m3_pre_add_tenant_info: {
    path: 'rooms/:room_id/pre_add_tenant/access_controls',
    method: methods.GET
  }, // 租客入住前获取M3门禁信息
  m3_tenant_auth_add: {
    path: 'leases/:lease_id/access_control/auth',
    method: methods.POST
  }, // 租客授权门禁
  m3_co_tenant_auth_add: {
    path: 'leases/:lease_id/co_tenant/:co_tenant_id/access_control/auth',
    method: methods.POST
  }, // 同租人授权门禁

  ali_pay_merchant_info: {
    path: 'ali_pay/merchant_info',
    method: methods.GET
  }, // 商户入驻信息查询
  alipay_register_query: {
    path: 'ali_pay/merchant_register_query',
    method: methods.GET
  }, // 支付宝分账入驻查询
  alipay_code: { path: 'ali_pay/send_authcode', method: methods.GET }, // 发放alipay验证码
  alipay_merchant_register: {
    path: 'ali_pay/merchant_register',
    method: methods.POST
  }, // alipay 支付宝进件
  alipay_merchant_update: {
    path: 'ali_pay/merchant_register',
    method: methods.PUT
  }, // alipay 支付宝进件修改

  login: { path: 'login', method: methods.POST }, // 登录
  upload_token: { path: 'upload', method: methods.GET }, // 获取上传token
  upload_create: { path: 'file', method: methods.POST }, // 创建文件记录

  ability_list: { path: 'abilitys', method: methods.GET }, // 获取全部能力列表
  ability_create: { path: 'abilitys', method: methods.POST }, // 创建能力
  ability_info: { path: 'abilitys/:ability_id', method: methods.GET }, // 获取指定能力
  ability_update: { path: 'abilitys/:ability_id', method: methods.PUT }, // 更新能力
  ability_del: { path: 'abilitys/:ability_id', method: methods.DELETE }, // 删除能力

  address_provinces: { path: 'provinces', method: methods.GET }, // 获取省份列表
  address_cities: { path: 'cities', method: methods.GET }, // 获取城市列表，省份参数可不传
  address_districts: { path: 'districts', method: methods.GET }, // 获取县级列表

  branch_create: { path: 'branches', method: methods.POST }, // 新建分店
  branch_list: { path: 'branches', method: methods.GET }, // 获取分店列表
  branch_info: { path: 'branches/:branch_id', method: methods.GET }, // 获取分店信息
  branch_update: { path: 'branches/:branch_id', method: methods.PUT }, // 更新分店
  branch_del: { path: 'branches/:branch_id', method: methods.DELETE }, // 删除分店
  branch_update_account: {
    path: 'branches/:branch_id/account',
    method: methods.PUT
  }, // 更新或新建分店账户
  branch_set_cash: {
    path: 'branches/:branch_id/set_cash',
    method: methods.PUT
  }, // 设置提现开关
  branch_all: { path: 'branches/all', method: methods.GET }, // 获取所有分店
  branch_elemeter_setting_info: {
    path: 'branches/:branch_id/elemeter_setting',
    method: methods.GET
  }, // 获取门店电表设置
  branch_elemeter_setting_update: {
    path: 'branches/:branch_id/elemeter_setting',
    method: methods.PUT
  }, // 更新门店电表设置
  branch_elemeter_setting_list: {
    path: 'branches/:branch_id/elemeter_setting/list',
    method: methods.GET
  }, // 门店按房源、房间获取列表

  company_config_export: {
    path: 'clients/elemeter_setting/export',
    method: methods.GET
  }, // 导出公司配置列表
  branch_config_export: {
    path: 'branches/:branch_id/elemeter_setting/export',
    method: methods.GET
  }, // 导出门店配置列表
  cashes: { path: 'cashes', method: methods.GET }, // 提现记录
  cashes_export: { path: 'cashes/export', method: methods.GET }, // 导出提现记录
  tenant_orders: { path: 'tenant_orders', method: methods.GET }, // 充值记录
  tenant_orders_export: { path: 'tenant_orders/export', method: methods.GET }, // 导出充值记录
  tenant_access_error: {
    path: 'exception/tenants',
    method: methods.GET
  },

  client_info: { path: 'clients/:client_id', method: methods.GET }, // 获取商户信息
  client_update: { path: 'clients/:client_id', method: methods.PUT }, // 更新商户
  client_phone_info: { path: 'clients/admin/phone', method: methods.GET }, // 获取商户手机号
  client_finance_info: { path: 'clients/finance', method: methods.GET }, // 商户概览, 获取资金的财务信息和结算信息
  client_device_statistics: {
    path: 'device_statistics',
    method: methods.GET
  }, // 获取资金-设备概览

  orders: { path: 'biz_orders', method: methods.GET }, // 商户订单列表
  order_detail: {
    path: 'biz_orders/:order_id/biz_order_devices',
    method: methods.GET
  }, // 商户订单详情

  clients_poundage_type: {
    path: 'clients/poundage_type',
    method: methods.PUT
  }, // 更改商户手续费承担方
  client_recharge_info: { path: 'clients/info', method: methods.GET }, // 获取商户充值状态

  clients_elemeter_setting_info: {
    path: 'clients/elemeter_setting',
    method: methods.GET
  }, // 获取商户电表配置
  clients_elemeter_setting_update: {
    path: 'clients/elemeter_setting',
    method: methods.PUT
  }, // 更新商户电表设置
  clients_poundage_type_update: {
    path: 'clients/poundage_type',
    method: methods.PUT
  }, // 更新商户手续费承担者类型
  clients_elemeter_setting_list: {
    path: 'clients/elemeter_setting/list',
    method: methods.GET
  }, // 商户按门店、房源、房间获取列表

  device_deliver: { path: 'device_deliver', method: methods.GET }, // 交付记录列表
  device_deliver_export: {
    path: 'device_deliver/export',
    method: methods.GET
  }, // 交付记录列表
  device_deliver_statistic: {
    path: 'device_deliver/statistic',
    method: methods.GET
  }, // 交付记录统计

  device_update: {
    path: 'rooms/:room_id/devices/:device_id',
    method: methods.PUT
  }, // 修改设备信息
  device_exception: { path: 'exception_device_list', method: methods.GET }, // 异常设备首页
  device_exception_report: { path: 'devices/exception', method: methods.GET }, // 异常设备报表
  device_exception_door: {
    path: 'exception_device_list_new',
    method: methods.GET
  }, // 长时间未开门
  device_exception_expired: {
    path: 'expired_device_list',
    method: methods.GET
  },
  device_exception_count: {
    path: 'devices/exception/count',
    method: methods.GET
  }, // 异常设备数目

  elecollector_create: {
    path: 'rooms/:room_id/elecollectors',
    method: methods.POST
  }, // 新增采集器
  elecollector_check: {
    path: 'rooms/:room_id/elecollectors/check',
    method: methods.POST
  }, // 采集器绑定查询
  elecollector_info: {
    path: 'rooms/:room_id/elecollectors/:elecollector_id',
    method: methods.GET
  }, // 采集器详情
  elecollector_del: {
    path: 'rooms/:room_id/elecollectors/:elecollector_id',
    method: methods.DELETE
  }, // 采集器删除
  elecollector_sub_devices: {
    path: 'rooms/:room_id/elecollectors/:elecollector_id/sub_devices',
    method: methods.GET
  }, // 采集器关联设备

  elemeter_charge_report: {
    // 电表充值导出
    path: 'charge_statistic',
    method: methods.GET
  },

  elemeter_create: { path: 'rooms/:room_id/elemeters', method: methods.POST }, // 新增电表
  elemeter_info: {
    path: 'rooms/:room_id/elemeters/:elemeter_id',
    method: methods.GET
  }, // 电表详情
  elemeter_del: {
    path: 'rooms/:room_id/elemeters/:elemeter_id',
    method: methods.DELETE
  }, // 解绑电表
  elemeter_reset: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/reset',
    method: methods.POST
  }, // 单个电表清零
  elemeters_reset: {
    path: 'rooms/:room_id/elemeters/reset',
    method: methods.POST
  }, // 房间电表清零
  elemeter_charge: {
    path: 'rooms/:room_id/elemeters/charge',
    method: methods.POST
  }, // 电表充值
  elemeter_overdraft: {
    path: 'rooms/:room_id/elemeters/overdraft/:elemeter_id',
    method: methods.POST
  }, // 电表超额
  elemeter_close: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/off',
    method: methods.POST
  }, // 电表断电
  elemeter_open: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/on',
    method: methods.POST
  }, // 电表通电
  // 房间下电表全部抄表 获取读数
  room_elemeter_read: {
    path: 'rooms/:room_id/elemeters/read',
    method: methods.POST
  }, // 电表读表
  elemeter_check: {
    path: 'rooms/:room_id/elemeters/check',
    method: methods.POST
  }, // 电表绑定查询
  // 单个电表抄表 获取读数
  elemeter_read: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/read',
    method: methods.POST
  },
  elemeters_charge_reset: {
    path: 'rooms/:room_id/elemeters/charge/reset',
    method: methods.POST
  }, // 房间电表充值重置
  elemeters_off: {
    path: 'rooms/:room_id/elemeters/off',
    method: methods.POST
  }, // 房间电表断电
  elemeters_on: { path: 'rooms/:room_id/elemeters/on', method: methods.POST }, // 房间电表通电

  elemeters_capacity_set: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/capacity',
    method: methods.POST
  }, // 电表超功率设置

  gateway_info: {
    path: 'rooms/:room_id/gateways/:device_id',
    method: methods.GET
  }, // 获取网关基本信息
  gateway_del: {
    path: 'rooms/:room_id/gateways/:device_id',
    method: methods.DELETE
  }, // 删除网关
  gateway_add: { path: 'rooms/:room_id/gateways', method: methods.POST }, // 增加网关
  // gateway_restart: {
  //     path: 'rooms/:room_id/gateways/:device_id/action_restart',
  //     method: methods.PUT
  // }, //重启网关
  gateway_ota: {
    path: 'rooms/:room_id/gateways/:device_id/action_ota',
    method: methods.PUT
  }, // 发起ota
  gateway_recovery_nv: {
    path: 'rooms/:room_id/gateways/:device_id/action_recovery_nv',
    method: methods.PUT
  }, // 恢复nv分区
  // gateway_reboot_zigbee: {
  //     path: 'rooms/:room_id/gateways/:device_id/action_reboot_zigbee',
  //     method: methods.PUT
  // }, //重启zigbee
  gateway_remove_repeater: {
    path: 'rooms/:room_id/gateways/:device_id/action_remove_repeater',
    method: methods.PUT
  }, // 删除无效中继器
  gateway_sub_devices: {
    path: 'rooms/:room_id/gateways/:gateway_id/sub_devices',
    method: methods.GET
  }, // 网关关联设备
  industry_list: { path: 'industry', method: methods.GET }, // 获取行业列表

  home_list: { path: 'homes', method: methods.GET }, // 获取房源列表
  ticket_home_list: { path: 'home_list', method: methods.GET }, // 获取工单房源列表
  home_face_access: {
    path: 'homes/:home_id/face_access',
    method: methods.GET
  }, // 获取房源门禁
  home_create: { path: 'homes', method: methods.POST }, // 新建房源
  home_update_brance: { path: 'homes/branch', method: methods.POST }, // 批量更新房源所属门店
  home_info: { path: 'homes/:home_id', method: methods.GET }, // 获取房源详情
  home_del: { path: 'homes/:home_id', method: methods.DELETE }, // 删除房源
  home_update: { path: 'homes/:home_id', method: methods.PUT }, // 更新房源
  home_elemeter_setting_info: {
    path: 'homes/:home_id/elemeter_setting',
    method: methods.GET
  }, // 获取房源用电设置详情
  home_elemeter_setting_update: {
    path: 'homes/:home_id/elemeter_setting',
    method: methods.PUT
  }, // 更新房源用电设置详情
  home_pool_setting_info: {
    path: 'homes/:home_id/pool_setting',
    method: methods.GET
  }, // 获取房源公摊设置详情
  home_pool_setting_update: {
    path: 'homes/:home_id/pool_setting',
    method: methods.PUT
  }, // 更新房源公摊设置详情
  home_floors: { path: 'homes/:home_id/floors', method: methods.GET }, // 获取房源楼层数组
  home_district: { path: 'homes/district', method: methods.GET }, // 获取已有房源行政区
  home_block: { path: 'homes/block', method: methods.GET }, // 获取已有房源小区
  home_devices_info: { path: 'homes/:home_id/devices', method: methods.GET }, // 获取房源设备列表
  home_users: { path: 'homes/users', method: methods.POST }, // 分配管家
  home_elemeter_setting_list: {
    path: 'homes/:home_id/elemeter_setting/list',
    method: methods.GET
  }, // 房间配置列表
  home_elemeter_setting_list_export: {
    path: 'homes/:home_id/elemeter_setting/export',
    method: methods.GET
  }, // 房间配置列表导出
  lock_function_code_show: {
    path: 'rooms/:room_id/locks/:lock_id/auth_code',
    method: methods.GET
  }, // D3/T3 功能码下法展示
  lock_function_code_send: {
    path: 'rooms/:room_id/locks/:lock_id/auth_code',
    method: methods.POST
  }, // D3/T3门锁下发功能码
  lock_add_no_gate: {
    path: 'rooms/:room_id/gateless_locks',
    method: methods.POST
  }, // 增加无网关门锁
  lock_info: { path: 'rooms/:room_id/locks/:device_id', method: methods.GET }, // 获取门锁基本信息
  lock_del: {
    path: 'rooms/:room_id/locks/:device_id',
    method: methods.DELETE
  }, // 删除门锁
  lock_add: { path: 'rooms/:room_id/locks', method: methods.POST }, // 增加门锁
  lock_bind_status: {
    path: 'rooms/:room_id/locks/bind_status',
    method: methods.GET
  }, // 门锁绑定进度
  lock_open_log: {
    path: 'rooms/:room_id/locks/:device_id/events',
    method: methods.GET
  }, // 获取门锁开门记录

  // 门锁设置
  lock_setting: {
    path: 'lock_setting',
    method: methods.GET
  },
  // 门锁提醒可推送用户
  lock_msg_users: {
    path: 'lock_alarm_users',
    method: methods.GET
  },
  lock_setting_update: {
    path: 'lock_setting',
    method: methods.POST
  },
  lock_notify_update: {
    path: 'lock_alarm_users',
    method: methods.POST
  },
  lock_settubg_list: {
    path: 'lock_setting/sub_list',
    method: methods.GET
  },
  // 电子反锁
  lock_ele: {
    path: 'rooms/:room_id/locks/:lock_id/electronic_lock',
    method: methods.POST
  },

  manager_list: { path: 'manager/user/:role_id', method: methods.GET }, // 获取安装人员 manager?role_id=14
  mybank_accounts: { path: 'mybank/accounts', method: methods.GET }, // 获取网商银行账号
  /** 解绑M3门禁 */
  m3_accesss_del: {
    path: 'rooms/:room_id/access_control/:device_id',
    method: methods.DELETE
  },
  notifications_info: { path: 'notifications', method: methods.GET }, // 获取系统消息
  notifications_create: { path: 'notifications', method: methods.POST }, // 添加系统消息

  openapi_operations: { path: 'operations/openapi', method: methods.GET }, // 获取openapi操作记录
  openapi_operations_count: {
    path: 'operations/openapi_count',
    method: methods.GET
  }, // 获取openapi操作记录
  openapi_operations_types: {
    path: 'operations/types_new',
    method: methods.GET
  }, // 获取openapi操作类型
  operations: { path: 'operations', method: methods.GET }, // 获取操作记录
  operations_types: { path: 'operations/types', method: methods.GET }, // 获取操作类型

  finger_password_frozen: {
    path: 'rooms/:room_id/locks/:device_id/fps/:fp_id/action_frozen',
    method: methods.PUT
  }, // 指纹冻结开门授权
  finger_password_unfrozen: {
    path: 'rooms/:room_id/locks/:device_id/fps/:fp_id/action_unfrozen',
    method: methods.PUT
  }, // 指纹解冻开门授权
  finger_password_del: {
    path: 'rooms/:room_id/locks/:device_id/fps/:fp_id',
    method: methods.DELETE
  }, // 删除指纹密码
  finger_password_update: {
    path: 'rooms/:room_id/locks/:device_id/fps/:fp_id',
    method: methods.PUT
  }, // 更新指纹密码有效期
  finger_password_unfrozen_mutil: {
    path: 'leases/:lease_id/fp/action_unfrozen',
    method: methods.PUT
  }, // 批量解冻开门授权
  finger_password_frozen_mutil: {
    path: 'leases/:lease_id/fp/action_frozen',
    method: methods.PUT
  }, // 批量冻结开门授权
  finger_password_del_mutil: {
    path: 'leases/:lease_id/fp',
    method: methods.DELETE
  }, // 批量删除指纹密码
  finger_password_update_mutil: {
    path: 'leases/:lease_id/fp',
    method: methods.PUT
  }, // 批量修改指纹密码有效期

  lease_password_frozen: {
    path: 'leases/:lease_id/password_frozen',
    method: methods.PUT
  }, // 冻结租赁下的密码
  lease_password_unfrozen: {
    path: 'leases/:lease_id/password_unfrozen',
    method: methods.PUT
  }, // 解冻租赁下的密码
  lease_password_delete: {
    path: 'leases/:lease_id/password',
    method: methods.DELETE
  }, // 删除租赁下的密码
  lease_password_edit: {
    path: 'leases/:lease_id/password',
    method: methods.PUT
  }, // 修改租赁下的密码

  password_admin_activation_passwords_send: {
    // 下发3000离线管理员密码
    path: 'rooms/:room_id/locks/:device_id/admin_activation_passwords',
    method: methods.POST
  },

  password_admin_password_delete: {
    // 删除管理员密码(999或者3000)
    path: 'rooms/:room_id/locks/:device_id/admin_passwords/:password_id',
    method: methods.DELETE
  },

  password_list: {
    path: 'rooms/:room_id/locks/:device_id/pwds_fps',
    method: methods.GET
  }, // 获取密码列表
  password_has_tenant_send: {
    // 有租客情况下下发在线密码
    path: 'rooms/:room_id/locks/:device_id/has_tenant/passwords',
    method: methods.POST
  },
  password_has_tenant_send_active: {
    // 有租客情况下下发离线密码
    path: 'rooms/:room_id/locks/:device_id/has_tenant/activation_passwords',
    method: methods.POST
  },
  password_send: {
    path: 'rooms/:room_id/locks/:device_id/passwords',
    method: methods.POST
  }, // 下发门锁密码
  password_admin_update: {
    path: 'rooms/:room_id/locks/:device_id/admin_passwords/999',
    method: methods.PUT
  }, // 更新管理员密码
  password_admin_add: {
    path: 'rooms/:room_id/locks/:lock_id/admin_passwords',
    method: methods.POST
  }, // 新增管理员密码
  password_send_multi: {
    path: 'rooms/:room_id/locks/multi_passwords',
    method: methods.POST
  }, // 下发内外门锁密码（多密码下发 仅入住使用）
  password_create_multi: {
    path: 'rooms/:room_id/locks/create_passwords',
    method: methods.POST
  }, // 下发内外门锁密码（多密码下发 非入住使用）
  password_send_active_multi: {
    path: 'rooms/:room_id/locks/multi_activation_passwords',
    method: methods.POST
  }, // 下发内外门锁激活码密码（多激活码下发）
  password_dynamic: {
    path: 'rooms/:room_id/locks/:device_id/dynamic_passwords',
    method: methods.GET
  }, // 获取动态密码
  password_dynamic_force: {
    path: 'leases/:lease_id/locks/:device_id/dynamic_passwords',
    method: methods.GET
  },
  password_send_active: {
    path: 'rooms/:room_id/locks/:device_id/activation_passwords',
    method: methods.POST
  }, // 下发激活码
  password_update: {
    path: 'rooms/:room_id/locks/:device_id/passwords/:password_id',
    method: methods.PUT
  }, // 更新普通密码
  password_update_active: {
    path:
            'rooms/:room_id/locks/:device_id/activation_passwords/:password_id',
    method: methods.PUT
  }, // 更新激活码
  password_del: {
    path: 'rooms/:room_id/locks/:device_id/passwords/:password_id',
    method: methods.DELETE
  }, // 删除密码
  password_frozen: {
    path:
            'rooms/:room_id/locks/:device_id/passwords/:password_id/action_frozen',
    method: methods.PUT
  }, // 冻结密码
  password_unfrozen: {
    path:
            'rooms/:room_id/locks/:device_id/passwords/:password_id/action_unfrozen',
    method: methods.PUT
  }, // 解冻密码
  password_admin: {
    path: 'rooms/:room_id/locks/:device_id/admin_passwords',
    method: methods.GET
  }, // 获取管理员密码
  password_id: { path: 'leases/:lease_id/passwords', method: methods.GET }, // 获取密码id
  password_decorate_update: {
    path: 'homes/:home_id/passwords/decorate_password',
    method: methods.PUT
  }, // 设置装修密码
  password_decorate_del: {
    path: 'homes/:home_id/passwords/decorate_password',
    method: methods.DELETE
  }, // 清空装修密码

  audit_info: { path: 'audit', method: methods.GET }, // 资金-线上充值功能
  audit_create: { path: 'audit', method: methods.POST }, // 资金-线上充值功能
  audit_history: { path: 'audit/prev', method: methods.GET }, // 资金-获取之前成功的信息
  agency_pay_info: { path: 'agency_pay/account/info', method: methods.GET }, // 资金-代缴详情
  agency_pay_bills: { path: 'agency_pay/inst_bills', method: methods.GET }, // 费用中心-代缴详情
  agency_pay_homes: { path: 'agency_pay/homes', method: methods.GET }, // 资金-电费户号绑定
  agency_pay_institutions: {
    path: 'agency_pay/institutions',
    method: methods.GET
  }, // 资金-缴费机构
  agency_pay_bind: {
    path: 'agency_pay/homes/bind_home_no',
    method: methods.POST
  }, // 资金-绑定户号
  agency_pay_forbidden: {
    path: 'agency_pay/home/bind_home_no/forbidden',
    method: methods.POST
  }, // 资金-户号
  agency_pay_pay: { path: 'agency_pay/pay', method: methods.POST }, // 资金-绑定户号
  agency_home_bills: { path: 'agency_pay/home/bills', method: methods.GET }, // 资金-历史代缴
  client_poundage_type: {
    path: 'clients/poundage_type',
    method: methods.PUT
  }, // 资金-更改承担人

  pay_provinces: { path: 'pay_provinces', method: methods.GET }, // 线上支付 省
  pay_citys: { path: 'pay_citys', method: methods.GET }, // 线上支付 市
  pay_country: { path: 'pay_countys', method: methods.GET }, // 线上支付 县
  pay_banks: { path: 'pay_banks', method: methods.GET }, // 线上支付 银行
  pay_client_setting: { path: 'clients/cash_setting', method: methods.GET }, // 获取线上支付 设置
  pay_client_setting_set: {
    path: 'clients/cash_setting',
    method: methods.PUT
  }, // 修改线上支付 设置

  pay_accounts_create: { path: 'pay_accounts', method: methods.PUT }, // 总部/门店收款账户设置
  pay_accounts_info: { path: 'pay_accounts/info', method: methods.GET }, // 获取商户资金账户列表（包括总部，分店）
  pay_accounts_del: { path: 'pay_accounts', method: methods.DELETE }, // 删除商户微信，支付宝，银行卡账号
  pay_accounts_change: {
    path: 'pay_accounts/branch/switch_account',
    method: methods.POST
  }, // 切换门店收款账户

  permission_list: { path: 'permissions', method: methods.GET }, // 获取全部权限列表
  // permission_create: { path: 'permissions', method: methods.POST }, //创建权限
  // permission_info: {
  //     path: 'permissions/:permission_id',
  //     method: methods.GET
  // }, //获取指定权限
  // permission_update: {
  //     path: 'permissions/:permission_id',
  //     method: methods.PUT
  // }, //更新权限
  // permission_del: {
  //     path: 'permissions/:permission_id',
  //     method: methods.DELETE
  // }, //删除权限

  report_elemeter: {
    path: 'reports/elemeter_readed_amount',
    method: methods.GET
  }, // 获取房间用电报表
  report_elemeter_export: {
    path: 'reports/elemeter_readed_amount/action_export',
    method: methods.GET
  }, // 导出房间用电报表
  report_watermeter: {
    path: 'reports/watermeter_readed_amount',
    method: methods.GET
  }, // 获取房间用水报表
  report_watermeter_export: {
    path: 'reports/watermeter_readed_amount/action_export',
    method: methods.GET
  }, // 导出房间用水报表

  role_list: { path: 'roles', method: methods.GET }, // 获取全部角色列表
  role_create: { path: 'roles', method: methods.POST }, // 创建角色
  role_info: { path: 'roles/:role_id', method: methods.GET }, // 获取指定角色
  role_update: { path: 'roles/:role_id', method: methods.PUT }, // 更新角色
  role_del: { path: 'roles/:role_id', method: methods.DELETE }, // 删除角色

  add_visitor_record: {
    path: 'homes/:home_id/visitor_record',
    method: methods.POST
  }, // 添加访客记录
  show_visitor_record: {
    path: 'homes/:home_id/visitor_record',
    method: methods.GET
  }, // 展示访客记录
  edit_visitor_record: {
    path: 'homes/:home_id/visitor_record/:record_id',
    method: methods.PUT
  }, // 修改访客记录
  room_lock_pre_add_password: {
    path: 'rooms/:room_id/locks/:device_id/pre_add_password',
    method: methods.GET
  },
  room_lock_detail: {
    path: 'rooms/:room_id/pre_add_tenant/locks',
    method: methods.GET
  }, // 获取房间和公区所有门锁信息
  room_list_mul_homes: { path: 'homes/rooms', method: methods.GET }, // 获取多个房源的房间列表
  room_list: { path: 'homes/:home_id/rooms', method: methods.GET }, // 获取房源的房间列表
  room_create: { path: 'homes/:home_id/rooms', method: methods.POST }, // 新建多个房间
  room_update_multiple: { path: 'homes/:home_id/rooms', method: methods.PUT }, // 更新多个房间
  room_info: { path: 'rooms/:room_id', method: methods.GET }, // 获取房间详情
  room_del: { path: 'rooms/:room_id', method: methods.DELETE }, // 删除房间
  room_update: { path: 'rooms/:room_id', method: methods.PUT }, // 更新房间
  room_child_info: { path: 'rooms/:room_id/rooms', method: methods.GET }, // 获取某个公区房间下的子房间
  room_elemeter_setting: {
    path: 'rooms/:room_id/elemeter_setting',
    method: methods.GET
  }, // 获取房间设置详情
  room_elemeter_setting_update: {
    path: 'rooms/:room_id/elemeter_setting',
    method: methods.PUT
  }, // 更新房间设置详情
  // room_pay_type_update: {
  //     path: 'rooms/:room_id/pay_type',
  //     method: methods.PUT
  // }, //更新房间付费模式
  // room_overdraft_update: {
  //     path: 'rooms/:room_id/overdraft_amount',
  //     method: methods.PUT
  // }, //更新房间透支额度
  // room_low_warn_update: {
  //     path: 'rooms/:room_id/low_warn',
  //     method: methods.PUT
  // }, //更新房间断电提醒
  // room_ele_price_update: {
  //     path: 'rooms/:room_id/ele_price',
  //     method: methods.PUT
  // }, //更新房间电价
  room_charge_list: {
    path: 'rooms/:room_id/elemeter/charge_list',
    method: methods.GET
  }, // 获取房间充值列表
  room_charge_list_export: {
    path: 'rooms/:room_id/elemeter/charge_list/export',
    method: methods.GET
  }, // 导出房间充值列表
  room_exceptions_info: {
    path: 'rooms/:room_id/devices/:device_id/exceptions',
    method: methods.GET
  }, // 获取设备异常列表
  room_electric_record: {
    path: 'rooms/:room_id/electric_record',
    method: methods.GET
  }, // 获取房间用电记录
  electric_report: {
    path: 'homes/rooms/electric_stat',
    method: methods.GET
  }, // 多房源下房间用电统计
  /** 报表-用电统计记录数量 */
  electric_report_count: {
    path: 'homes/rooms/electric_stat_count',
    method: methods.GET
  },
  room_pool_electric_record: {
    path: 'pool_room/:room_id/electric_record',
    method: methods.GET
  }, // 获取公区房间用电记录
  room_elemeter_record: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/electric_record',
    method: methods.GET
  }, // 获取电表用电记录
  room_water_record: {
    path: 'rooms/:room_id/watermeters/records',
    method: methods.GET
  }, // 获取房间用水记录
  room_water_record_export: {
    path: 'rooms/:room_id/watermeters/records',
    method: methods.GET
  }, // 导出房间用水记录
  room_watermeter_record: {
    path: 'rooms/:room_id/watermeters/:watermeter_id/records',
    method: methods.GET
  }, // 获取水表用水记录
  room_watermeter_record_export: {
    path: 'rooms/:room_id/watermeters/:watermeter_id/records/export',
    method: methods.GET
  }, // 导出水表用水记录
  room_elemeter_reset: {
    path: 'rooms/:room_id/elemeters/left/reset',
    method: methods.POST
  }, // 房间剩余电量清零
  room_elemeter_sync: {
    path: 'rooms/:room_id/elemeters/:elemeter_id/sync',
    method: methods.POST
  }, // 电表同步
  room_watermeter_action_read: {
    path: 'rooms/:room_id/watermeters/read',
    method: methods.POST
  }, // 向房间所有电表发送抄表

  m3_accesss_add_device: {
    path: 'rooms/:room_id/access_control',
    method: methods.POST
  }, // 绑定M3门禁
  lock_version_get: { path: 'lock/:sn', method: methods.GET }, // 通过sn号获取门锁的版本号

  sms: { path: 'sms/client/code', method: methods.POST }, // 发送给商户短信验证码
  sms_valid: { path: 'sms/code/check', method: methods.POST }, // 校验短信验证码

  team_delivery_list: { path: 'team/list', method: methods.GET }, // 交付团队列表
  team_delivery_create: { path: 'team/create', method: methods.POST }, // 新增交付团队
  team_delivery_update: { path: 'team/update', method: methods.PUT }, // 修改交付团队
  team_delivery_delete: { path: 'team/delete', method: methods.DELETE }, // 删除交付团队

  leases_grant_record: {
    path: 'leases/:lease_id/pwds_fps',
    method: methods.GET
  }, // 获取租约授权记录

  tenant_create: { path: 'tenants', method: methods.POST }, // 新建租客
  tenant_list: { path: 'tenants', method: methods.GET }, // 获取租客列表
  tenant_list_room: { path: 'rooms/:room_id/tenants', method: methods.GET }, // 获取房间的租客列表
  tenant_info: { path: 'tenants/:tenant_id', method: methods.GET }, // 租客详情
  tenant_update: { path: 'tenants/:tenant_id', method: methods.PUT }, // 更新租客信息
  tenant_del: { path: 'tenants/:tenant_id', method: methods.DELETE }, // 删除租客信息
  tenant_checkin: {
    path: 'tenants/:tenant_id/rooms/:room_id',
    method: methods.POST
  }, // 入住房间
  tenant_leases_update: { path: 'leases/:lease_id', method: methods.PUT }, // 更新租赁记录 续租
  tenant_leases_del: { path: 'leases/:lease_id', method: methods.DELETE }, // 退租
  tenant_co_add: {
    path: 'leases/:lease_id/co_tenants',
    method: methods.POST
  }, // 添加租客同租人
  tenant_co_update: { path: 'co_tenants/:co_tenant_id', method: methods.PUT }, // 更新同租人
  tenant_co_del: { path: 'co_tenants/:co_tenant_id', method: methods.DELETE }, // 删除同租人
  tenant_frozen: { path: 'leases/:lease_id/frozen', method: methods.POST }, // 冻结房间
  tenant_unfrozen: {
    path: 'leases/:lease_id/unfrozen',
    method: methods.POST
  }, // 解冻房间
  tenant_co_finger_del: {
    path: 'leases/:lease_id/tenants/:tenant_id/fp',
    method: methods.DELETE
  }, // 删除同租人的指纹记录

  // ticket_list: { path: 'tickets/:service_type', method: methods.GET }, // 获取工单列表
  // ticket_count: { path: 'tickets/count', method: methods.GET }, // 获取工单统计数据
  // ticket_service_ack: { path: 'tickets/:ticket_id/service_ack', method: methods.PUT }, // 受理工单
  // ticket_add: { path: 'tickets/:service_type', method: methods.POST }, // 新增工单
  // ticket_info: { path: 'tickets/:ticket_id/show', method: methods.GET }, // 获取工单详细信息
  // ticket_history: { path: 'tickets/:ticket_id/history', method: methods.GET }, // 获取工单详细信息
  // ticket_dispatch: { path: 'tickets/:ticket_id/dispatch_ticket', method: methods.PUT }, // 调度工单
  // ticket_submit: { path: 'tickets/:ticket_id/submit_ticket', method: methods.PUT }, // 提交工单
  // ticket_close: { path: 'tickets/:ticket_id/shut_ticket', method: methods.PUT }, // 关闭工单
  // ticket_reject: { path: 'tickets/:ticket_id/reject_ticket', method: methods.PUT }, // 打回工单
  // ticket_export: { path: 'tickets/:service_type/export', method: methods.GET }, // 导出工单
  // ticket_check: { path: 'tickets/:ticket_id/check_ticket', method: methods.PUT }, // 验收工单

  ticket_list: { path: 'tickets/:service_type', method: methods.GET }, // 获取工单列表
  ticket_count: { path: 'tickets/count', method: methods.GET }, // 获取工单统计数据
  ticket_service_ack: {
    path: 'tickets/:ticket_id/service_ack',
    method: methods.PUT
  }, // 受理工单
  ticket_add: { path: 'tickets/:service_type', method: methods.POST }, // 新增工单
  ticket_update: {
    path: 'tickets/:ticket_id/update_ticket',
    method: methods.PUT
  }, // 编辑工单
  ticket_info: { path: 'tickets/:ticket_id/show', method: methods.GET }, // 获取工单详细信息
  ticket_history: { path: 'tickets/:ticket_id/history', method: methods.GET }, // 获取工单详操作历史
  ticket_dispatch: { path: 'tickets/dispatch_ticket', method: methods.PUT }, // 分配调度
  ticket_alloc: { path: 'tickets/alloc_ticket', method: methods.PUT }, // 调度师傅
  ticket_submit: {
    path: 'tickets/:ticket_id/submit_ticket',
    method: methods.PUT
  }, // 提交工单 安装的app用的接口
  ticket_close: {
    path: 'tickets/:ticket_id/shut_ticket',
    method: methods.PUT
  }, // 关闭工单
  ticket_reject: {
    path: 'tickets/:ticket_id/reject_ticket',
    method: methods.PUT
  }, // 打回工单
  ticket_export: {
    path: 'tickets/:service_type/export',
    method: methods.GET
  }, // 导出工单
  ticket_check: {
    path: 'tickets/:ticket_id/check_ticket',
    method: methods.PUT
  }, // 验收工单
  ticket_turndown: {
    path: 'tickets/:ticket_id/turndown_ticket',
    method: methods.PUT
  }, // 驳回工单
  ticket_device_model: { path: 'device_products', method: methods.GET }, // 预约工单设备型号
  ticket_device_model_count: { path: 'product_remain', method: methods.GET }, // 预约工单设备型号数量
  ticket_device_faults: {
    path: 'tickets/fault/:device_type',
    method: methods.GET
  }, // 预约工单设备型号数量
  ticket_device_solutions: {
    path: 'tickets/solutions/:fault_id',
    method: methods.GET
  }, // 预约工单设备型号数量
  ticket_remark: {
    path: 'tickets/:ticket_id/service/remark',
    method: methods.GET
  },
  ticket_send_remark: {
    path: 'tickets/:ticket_id/service/remark',
    method: methods.POST
  },
  ticket_position: {
    path: 'tickets/:ticket_id/signin_position',
    method: methods.GET
  },
  ticket_set_position: {
    path: 'tickets/:ticket_id/home_position',
    method: methods.PUT
  },
  home_delete_mark_position: {
    path: 'homes/:home_id/mark_position',
    method: methods.DELETE
  },

  tips: { path: 'tips', method: methods.GET }, // 帮助中心
  tip: { path: 'tips/:id', method: methods.GET }, // 帮助中心
  tip_class: { path: 'tip_class', method: methods.GET }, // 问题分类

  export_users_detai: { path: 'users', method: methods.GET }, // 导出员工明细
  export_homes_detai: { path: 'homes', method: methods.GET }, // 导出房源明细

  user_info: { path: 'user/info', method: methods.GET }, // 获取个人用户信息（基本信息、角色、权限集合）
  user_list: { path: 'users', method: methods.GET }, // 获取全部用户列表
  user_create: { path: 'users', method: methods.POST }, // 创建用户
  user_info_by_id: { path: 'users/:user_id', method: methods.GET }, // 获取指定用户
  user_update: { path: 'users/:user_id', method: methods.PUT }, // 更新用户
  user_del: { path: 'users/:user_id', method: methods.DELETE }, // 删除用户
  user_assign_homes: {
    path: 'user/:user_id/assignHomes',
    method: methods.GET
  },
  user_privacy_policy: {
    path: 'user/privacy_policy',
    method: methods.PUT
  },

  watergateway_create: {
    path: 'rooms/:room_id/water_gateways',
    method: methods.POST
  }, // 绑定水表网关
  watergateway_info: {
    path: 'rooms/:room_id/water_gateways/:water_gateway_id',
    method: methods.GET
  }, // 获取水表网关基本信息
  watergateway_del: {
    path: 'rooms/:room_id/water_gateways/:water_gateway_id',
    method: methods.DELETE
  }, // 解绑水表网关
  watergateway_update: {
    path: 'rooms/:room_id/water_gateways/:water_gateway_id',
    method: methods.PUT
  }, // 替换水表网关
  water_gateway_sub_devices: {
    path: 'rooms/:room_id/water_gateways/:water_gateway_id/sub_devices',
    method: methods.GET
  }, // 水表网关关联设备

  watermeter_create: {
    path: 'rooms/:room_id/watermeters',
    method: methods.POST
  }, // 绑定水表
  watermeter_bind_process: {
    path: 'rooms/:room_id/watermeters/bind_process',
    method: methods.GET
  }, // 查询绑定水表状态
  watermeter_info: {
    path: 'rooms/:room_id/watermeters/:watermeter_id',
    method: methods.GET
  }, // 获取水表基本信息
  watermeter_del: {
    path: 'rooms/:room_id/watermeters/:watermeter_id',
    method: methods.DELETE
  }, // 解绑水表
  watermeter_action_read: {
    path: 'rooms/:room_id/watermeters/:watermeter_id/read',
    method: methods.POST
  }, // 向水表发送抄表命令
  // 设备报表列表
  devices_list: {
    path: 'device_states',
    method: methods.GET
  },
  // 产品型号列表
  dev_model_list: {
    path: 'products',
    method: methods.GET
  },
  // 获取设备详情
  device_detail: {
    path: 'device_states/:device_state_id',
    method: methods.GET
  },
  // 获取设备变更历史
  device_history: {
    path: 'device_states/:device_state_id/history',
    method: methods.GET
  },
  // 导出设备报表列表
  export_report_table: {
    path: 'device_states/export',
    method: methods.GET
  },
  // 设备总数统计
  device_statistics: {
    path: 'device_states/statistics',
    method: methods.GET
  },

  /** 编辑楼栋 */
  building_edit: {
    path: 'building/:room_id',
    method: methods.PUT
  },
  /** 编辑楼栋 */
  building_delete: {
    path: 'building/:room_id',
    method: methods.DELETE
  },

  /** 门禁长时间未关门设置 */
  face_access_setting: { path: 'face_access_setting', method: methods.PUT },
  // 为租客标签添加预警
  tenant_warn_add: {
    path: 'tenant_tags/:tenant_tag_id/tenant_warn',
    method: methods.POST
  },
  // 租客标签列表
  tenant_tags_get: { path: 'tenant_tags', method: methods.GET },
  // 添加租客标签
  tenant_tags_add: { path: 'tenant_tags', method: methods.POST },
  // 编辑租客标签
  tenant_tags_edit: {
    path: 'tenant_tags/:tenant_tag_id',
    method: methods.PUT
  },
  // 删除租客标签

  tenant_tags_del: {
    path: 'tenant_tags/:tenant_tag_id',
    method: methods.DELETE
  },
  // 关闭租客标签预警
  tenant_warn_del: {
    path: 'tenant_tags/:tenant_tag_id/tenant_warn',
    method: methods.PUT
  },
  // 人脸开门统计
  face_open_statistic: { path: 'face_open_statistic', method: methods.GET },
  // 人脸授权列表
  face_accesss_record: {
    path: 'rooms/:room_id/face_accesss/:device_id/auth',
    method: methods.GET
  },
  // 员工授权列表
  user_auth_list: {
    path: 'users/:user_id/face_access/auth',
    method: methods.GET
  },
  // 批量下发设备人脸授权
  face_access_add: {
    path: 'homes/:home_id/face_access/auth',
    method: methods.POST
  },
  // 批量删除设备人脸授权
  face_access_del: {
    path: 'users/:user_id/face_access/auth',
    method: methods.DELETE
  },
  // 添加门禁设备
  face_accesss_add_device: {
    path: 'rooms/:room_id/face_accesss',
    method: methods.POST
  },
  // 退租删除门禁授权
  detory_face_access_auth: {
    path: 'leases/:lease_id/face_access/auth',
    method: methods.DELETE
  },

  face_access_auth_update: {
    path: 'leases/:lease_id/face_access/auth',
    method: methods.PUT
  },

  /** 旧集中式编辑前转楼栋 */
  focus_to_building: {
    path: 'building/push_rooms',
    method: methods.POST
  },
  // 合同列表
  contract_list: {
    path: 'contract_bill/contract',
    method: methods.GET
  },
  // 合同详情
  contract_info: {
    path: 'contract_bill/contract/:id',
    method: methods.GET
  },
  // 账单列表
  bill_list: {
    path: 'contract_bill/bill',
    method: methods.GET
  },
  // 账单费用明细
  bill_cost: {
    path: 'contract_bill/cost/:id',
    method: methods.GET
  },
  // 账单争议费用
  bill_dispute: {
    path: 'contract_bill/cost/dispute/:id',
    method: methods.GET
  },
  // 账单费用统计
  bill_statis: {
    path: 'contract_bill/cost/statis/:id',
    method: methods.GET
  },
  // 账单详情
  bill_info: {
    path: 'contract_bill/bill/:id',
    method: methods.GET
  },
  // 所有费用确认无误
  bill_confirm: {
    path: 'contract_bill/cost/confirm',
    method: methods.PUT
  },
  // 不认可
  cost_reason: {
    path: 'contract_bill/cost/reason',
    method: methods.PUT
  },
  // 账单导出
  bill_export: {
    path: 'contract_bill/billcosts/export',
    method: methods.GET
  },
  // 回款记录
  payment: {
    path: 'contract_bill/payment',
    method: methods.POST
  },
  // 回款记录
  payment_list: {
    path: 'contract_bill/payment/:id',
    method: methods.GET
  },
  // 回款记录
  payment_update: {
    path: 'contract_bill/payment/:id',
    method: methods.PUT
  },
  // 回款记录
  payment_delete: {
    path: 'contract_bill/payment/:id',
    method: methods.DELETE
  },
  // 开票记录列表
  invoice_list: {
    path: 'contract_bill/invoice',
    method: methods.GET
  },
  // 开票记录详情
  invoice_info: {
    path: 'contract_bill/invoice/:id',
    method: methods.GET
  },
  // 开票记录新增
  invoice_create: {
    path: 'contract_bill/invoice',
    method: methods.POST
  },
  // 开票记录更新
  invoice_update: {
    path: 'contract_bill/invoice/:id',
    method: methods.PUT
  },
  // 开票记录账单
  invoice_bill: {
    path: 'contract_bill/invoice/bills',
    method: methods.POST
  },
  // 开票通过
  invoice_confirm: {
    path: 'contract_bill/invoice/confirm',
    method: methods.POST
  },
  // 开票驳回
  invoice_reject: {
    path: 'contract_bill/invoice/reject',
    method: methods.POST
  },
  // 开票取消
  invoice_cancel: {
    path: 'contract_bill/invoice/cancle',
    method: methods.POST
  },
  // 开票操作记录
  invoice_operation: {
    path: 'contract_bill/invoice/operation/:id',
    method: methods.GET
  },
  // 获取商户列表
  client_list: {
    path: 'clients',
    method: methods.GET
  },
  /** 商户概览 */
  client_overview: {
    path: 'clients/:client_id/finance',
    method: methods.GET
  },
  // // 商户标签
  // tags_list: {
  //     path: 'tags',
  //     method: methods.GET
  // },
  clients_delete: {
    path: 'clients/:client_id',
    method: methods.DELETE
  },
  // 商务对接人
  client_managers_list: {
    path: 'business',
    method: methods.GET
  },
  // +上门费收费类型
  enum: {
    path: 'contract_bill/enum',
    method: methods.GET
  },

  index_page_exception_counts: {
    path: 'home_page_warn',
    method: methods.GET
  },

  /** 门禁设备详情 */
  face_access_info: {
    path: 'rooms/:room_id/face_accesss/:device_id',
    method: methods.GET
  },
  /** 房源下门禁列表 */
  face_access_of_home: {
    path: 'homes/:home_id/face_access',
    method: methods.GET
  },
  /** 门禁开门记录 */
  face_access_open_history: {
    path: 'face_opens',
    method: methods.GET
  },
  /** 门禁授权记录 */
  face_access_auth_history: {
    path: 'rooms/:room_id/face_accesss/:device_id/auth',
    method: methods.GET
  },
  /** 门禁取消授权 */
  face_access_delete_auth: {
    path: 'rooms/:room_id/face_accesss/:device_id/auth/:auth_id',
    method: methods.DELETE
  },
  /** 门禁重新授权 */
  face_access_retry: {
    path: 'rooms/:room_id/face_accesss/:device_id/auth/:auth_id/retry',
    method: methods.POST
  },
  /** 解绑人脸门禁 */
  face_accesss_del: {
    path: 'rooms/:room_id/face_accesss/:device_id',
    method: methods.DELETE
  },
  /** 门禁获取人员出入异常 */
  face_access_get_exception_tenants: {
    path: 'exception/tenants',
    method: methods.GET
  },
  /** 门禁解除人员出入异常 */
  face_access_del_exception_tenants: {
    path: 'exception/tenants',
    method: methods.DELETE
  },
  /** 门禁重启 */
  face_access_restart: {
    path: 'rooms/:room_id/face_accesss/:device_id/restart',
    method: methods.POST
  },
  /** 人员详情 */
  tenant_detail: {
    path: 'role_users',
    method: methods.GET
  },

  // 获取人脸门禁照片
  face_photo_show: {
    path: 'inner/face_files/:face_file_id',
    method: methods.GET
  },

  renter_face_auth_delete: {
    path: 'leases/:lease_id/co_tenant/:co_tenant_id/face_access/auth',
    method: methods.DELETE
  }
}
